package com.fafu.captcha.facade;

public class LightFacade {
    public void on(){
        BedRoomLight bedRoomLight = new BedRoomLight();
        bedRoomLight.on();
        LivingRoomLight livingRoomLight = new LivingRoomLight();
        livingRoomLight.on();
        HallLight hallLight = new HallLight();
        hallLight.on();
    }

    public void off(){
        BedRoomLight bedRoomLight = new BedRoomLight();
        bedRoomLight.off();
        LivingRoomLight livingRoomLight = new LivingRoomLight();
        livingRoomLight.off();
        HallLight hallLight = new HallLight();
        hallLight.off();
    }
}
